package com.jl.jlapp.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.jl.jlapp.R;
import com.jl.jlapp.eneity.GeneralInvoiceModel;

import java.util.List;

public class GeneralInvoiceListAdapter
  extends BaseQuickAdapter<GeneralInvoiceModel.ResultDataBean, BaseViewHolder>
{
  public GeneralInvoiceListAdapter(@LayoutRes int paramInt, @Nullable List<GeneralInvoiceModel.ResultDataBean> paramList)
  {
    super(paramInt, paramList);
  }
  
  protected void convert(BaseViewHolder paramBaseViewHolder, GeneralInvoiceModel.ResultDataBean paramResultDataBean)
  {
    paramBaseViewHolder.setText(R.id.general_unit_id, paramResultDataBean.getId() + "");
    paramBaseViewHolder.setText(R.id.text_unit_name, paramResultDataBean.getUnitName());
    paramBaseViewHolder.setText(R.id.text_taxpayer_identification_number, paramResultDataBean.getTaxpayerIdentificationNumber());
    paramBaseViewHolder.addOnClickListener(R.id.general_invoice_edit_linear);
    paramBaseViewHolder.addOnClickListener(R.id.general_invoice_del_linear);
  }
}


/* Location:              /Users/davidzhang/Documents/decompileApk/jlfood-dex2jar.jar!/com/jl/jlapp/adapter/GeneralInvoiceListAdapter.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */